<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/10/28
  Time: 10:50
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form:form action="saveCar" method="post" modelAttribute="car">
    品牌名称: <form:input path="bandName"/> <form:errors path="bandName"/> <br><br>
    价格: <form:input path="price"/> <form:errors path="price"/>  <br><br>
    汽车数量: <form:input path="num"/> <form:errors path="num"/>  <br><br>
    上市时间: <form:input path="time"/> <form:errors path="time"/>要求以"9999-11-11"的形式<br><br>
    <input type="submit" value="添加汽车"/>
</form:form>
</body>
</html>
